package jm.nj.day08jia.demo07;

/*
 * public StringBuilder append(任意类型)//给字符串填加任意类型
 * public StringBuilder rerverse()//反转字符串
 * */
public class Test02 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();

        StringBuilder sb2 = sb.append("hfjdks");

        System.out.println("sb = " + sb);
        System.out.println("sb2 = " + sb2);
        System.out.println("sb2 == sb " + (sb2 == sb));

        sb.append(10);
        sb.append(true);
        sb.append(2.3);
        System.out.println(sb);


    }
}
